///**
// * 
// */
//package it.irondev.appturismo.util;
//
//import it.irondev.appturismo.service.IAccomodationsService;
//import it.irondev.appturismo.service.IEventService;
//import it.irondev.appturismo.service.IRestaurantService;
//
//import org.apache.tiles.AttributeContext;
//import org.apache.tiles.context.TilesRequestContext;
//import org.apache.tiles.preparer.PreparerException;
//import org.apache.tiles.preparer.ViewPreparer;
//import org.springframework.beans.BeansException;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.context.ApplicationContext;
//import org.springframework.context.ApplicationContextAware;
//import org.springframework.stereotype.Service;
//
///**
// * @author federicocerruto
// *
// */
//@Service("menuPreparer")
//public class MenuPreparer implements ViewPreparer, ApplicationContextAware {
//
//	private IRestaurantService serviceRestaurant;
//
//	private IAccomodationsService serviceAccomodation;
//
//	private IEventService serviceEvent;
//	
//	private ApplicationContext context;
//	
//	
//	public void execute(TilesRequestContext arg0, AttributeContext attrContext)
//			throws PreparerException {
//		serviceRestaurant = context.getBean(IRestaurantService.class);
//		
//		
//	}
//
//
//
//	public void setApplicationContext(ApplicationContext applicationContext)
//			throws BeansException {
//		this.context = applicationContext;
//	}
//
//}
